-- kill_prop_attack
-- created by shuzy
-- 每指定属性敌人，攻击+N

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    -- 击杀触发
    trigger = function(who, prop, arg)
        local count  = prop[3];

        BonusM.doBonus({2, "attack", count}, "kill_prop_attack");

        return true;
    end,

    record = function(target, prop, path)
        return false;
    end
};